import request from '@/utils/request'

export function getUploadToken() {
  return request({
    url: '/common/qiniu/uploadToken',
    method: 'get'
  })
}

export function getQiniuToken() {
  return request({
    url: '/common/qiniu/getQiniuToken',
    method: 'get'
  })
}

export function delQiniuFile(keyId) {
  return request({
    url: '/common/qiniu/del/' + keyId,
    method: 'get'
  })
}
